package com.example.server.security.authorize;

import com.example.common.security.GrantedAuthority;

import java.util.List;

public interface AuthorizeDecider {

    boolean decide(List<? extends GrantedAuthority> allowedAuthorities,
                   List<? extends GrantedAuthority> hadAuthorities);

//    <T, S> boolean decide2(List<T> l1, List<S> l2);
}
